<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" href="css/public.css" media="all">
		<link rel="stylesheet" href="css/system.css" media="all">
		<script type="text/javascript" src="layui/layui.js"></script>
		<script type="text/javascript" src="layui/css/layui.css"></script>
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/jquery.min.js"></script>
		<script type="text/javascript" src="js/system.js"></script>
		<script type="text/javascript" src="js/paging.js"></script>		
		<title>系统设置-参数设置</title>
	</head>
	<body onload="pageStart(73);">
		<!--轮播图添加start-->
		<div style="display: none;" id="bannerDiv" class="add-container">
			<div class="black-cloth"></div>
			<div class="add-content" style="width: 600px;">
				<div class="popup-top">
					<label class="popup-add-title">上传轮播图</label>
					<img onclick="closePop(3);" src="img/close_icon.png"/>
				</div>
				<div id="banner-bg" class="banner-bg" style="display: block;">
					<label for="bannerFile">
						<img src="img/add_icon.png" />
					</label>
					<div class="banner-upload-txt">上传图片</div>
					<div class="banner-txt">
						只支持JPG/PNG/JPEG，大小不超过5M</br>
							建议尺寸750*300
					</div>
				</div>
				<img id="bannerImg" class="banner-bg" src="img/banner-default.png" style="display: none;"/>
				<input id="bannerFile" name="file" type="file" accept="image/jpg,image/jpeg,image/png" hidden="hidden" onchange="headChange(2,this);"/>
				<!-- 选择图片之后需要显示的文字 -->
				<div id="choose-pic-txt" class="choose-pic-txt" style="display: none;">
					点击“确定”上传完成</br>
					如不满意，可<label for="bannerFile">重新上传</label>
				</div>
				<div class="popup-item" style="text-align: center;position: absolute;bottom: 0px;">
					<center>
						<button class="cancelBtn" onclick="closePop(3);" >取消</button>
						<button class="saveBtn" onclick="bannerSave(1);">保存</button>
					</center>
				</div>	
			</div>
		</div>
		<!--轮播图添加end-->
		<!--轮播图编辑start-->
		<div style="display: none;" id="bannerEditDiv" class="add-container">
			<div class="black-cloth"></div>
			<div class="add-content" style="width: 600px;">
				<div class="popup-top">
					<label class="popup-add-title">编辑轮播图</label>
					<img onclick="closePop(4);" src="img/close_icon.png"/>
				</div>
				<img id="bannerEditImg" class="banner-bg" src="img/banner-default.png" style="display: block;"/>
				<input id="bannerEditFile" name="file" type="file" accept="image/jpg,image/jpeg,image/png" hidden="hidden" onchange="headChange(3,this);"/>
				<!-- 选择图片之后需要显示的文字 -->
				<div id="choose-pic-txt" class="choose-pic-txt" style="display: block;">
					点击“确定”修改完成</br>
					如不满意，可<label for="bannerEditFile">重新上传</label>
				</div>
				<div class="popup-item" style="text-align: center;position: absolute;bottom: 0px;">
					<center>
						<button class="cancelBtn" onclick="closePop(4);" >取消</button>
						<button class="saveBtn" onclick="bannerSave(2);">保存</button>
					</center>
				</div>	
				<input id="bannerId" value="1"  style="display: none;"/>
			</div>
		</div>
		<!--轮播图编辑end-->
		<div class="data-div">
			<div class="sys-title">轮播图设置</div>
			<div class="sys-desc" style="padding-left: 30px;">
				1.修改与上传轮播图，同步于手机端轮播图的图片；</br>
				2.上传新图片与替换图片时，请按照设置提醒进行操作，以保证上传后图片的质量。
			</div>
			<div class="banner-div">
				<div id="banner-list">
					<!-- <div class="banner-item-data">
						<img id="img1" class="banner-item-img" src="img/banner-default.png" />
						<button class="banner-item-edit" onclick="bannerClick(1,1);">修改</button>
						<button class="banner-item-delete" onclick="bannerClick(2,1);">删除</button>
					</div> -->
				</div>
				<div class="banner-item">
					<img class="banner-item-icon" src="img/banner_add_icon.png" onclick="showPic(1,1);"/></br>
					<label>上传图片</label>
				</div>
			</div>
		</div>
	</body>
</html>
